home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global CBOX
- set whichCursor to the number of cast "fist"
- cursor([whichCursor, whichCursor + 1])
- repeat while the stillDown
- set the castNum of sprite CBOX to the number of cast "close-box-flash"
- updateStage()
- set the castNum of sprite CBOX to the number of cast "close-box"
- updateStage()
- end repeat
- set the castNum of sprite CBOX to the number of cast "close-box"
- set whichCursor to the number of cast "hand"
- cursor([whichCursor, whichCursor + 1])
- end
-
- on mouseUp
- global MUSIC_CHANNEL
- if the mouseCast = the number of cast "close-box" then
- puppetSound("Zzub")
- repeat while the volume of sprite MUSIC_CHANNEL > 0
- set the volume of sprite MUSIC_CHANNEL to the volume of sprite MUSIC_CHANNEL - 25
- end repeat
- repeat with whichChannel = 1 to 48
- puppetSprite(whichChannel, 0)
- end repeat
- go("end")
- else
- nothing()
- end if
- end
-